﻿using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;
using Xms.Abp.AspNetCore.Mvc;
using Xms.Abp.Modularity;

namespace AccountManagement;

[DependsOn(
    typeof(AccountManagementApplicationContractsModule),
    typeof(XmsAbpAspNetCoreMvcModule)
    )]
public class AccountManagementHttpApiModule: XmsModule
{
    public override void PreConfigureServices(ServiceConfigurationContext context)
    {
        PreConfigure<IMvcBuilder>(mvcBuilder =>
        {
            mvcBuilder.AddApplicationPartIfNotExists(typeof(AccountManagementHttpApiModule).Assembly);
        });
    }
}
